package com.dwxt.community.dao;

import com.dwxt.community.entity.*;
import org.apache.ibatis.annotations.*;

import java.util.*;

public interface SupervisorTrashCanMapper {
    int countByExample(SupervisorTrashCanExample example);

    int deleteByExample(SupervisorTrashCanExample example);

    int deleteByPrimaryKey(String id);

    int insert(SupervisorTrashCan record);

    int insertSelective(SupervisorTrashCan record);

    List<SupervisorTrashCan> selectByExample(SupervisorTrashCanExample example);

    SupervisorTrashCan selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SupervisorTrashCan record, @Param("example") SupervisorTrashCanExample example);

    int updateByExample(@Param("record") SupervisorTrashCan record, @Param("example") SupervisorTrashCanExample example);

    int updateByPrimaryKeySelective(SupervisorTrashCan record);

    int updateByPrimaryKey(SupervisorTrashCan record);

    int deleteBySupervisorId(String id);

    List<SupervisorTrashCan> selectBySupervisorId(String before);

    List<String> selectDeviceIdBySupervisorId(String before);

    int batchInsert(@Param("supervisorTrashCans")ArrayList<SupervisorTrashCan> supervisorTrashCans);

    int deleteByDeviceId(@Param("deviceIds")String... deviceIds);

}